import {
  get,
  post,
  //postForm,
  del,
} from "@/utils/http";
const packageName = `/back-api`;

// 获取入库单列表
export function getStockList(params) {
  return get(`${packageName}/dataStockInOrder/getDataStockInOrderList`, params);
}

// 获取入库单详情列表
export function getStockDetailList(params) {
  return get(
    `${packageName}/dataStockInOrder/getDataStockInOrderDetailList`,
    params
  );
}
// 获取出库单列表
export function getStockOutList(params) {
  return get(
    `${packageName}/dataStockOutOrder/getDataStockOutOrderList`,
    params
  );
}

// 获取出库单详情列表
export function getStockDetailOutList(params) {
  return get(
    `${packageName}/dataStockOutOrder/getDataStockOutOrderDetailList`,
    params
  );
}

// 保存鱼池
export function saveObjFishpond(params) {
  return post(`${packageName}/objFishpond/saveObjFishpond`, params);
}

//获取入库单列表
export function getDataStockInOrderList(params) {
  return get(`${packageName}/dataStockInOrder/getDataStockInOrderList`, params);
}
//获取入库单详情列表
export function getDataStockInOrderDetailList(params) {
  return get(
    `${packageName}/dataStockInOrder/getDataStockInOrderDetailList`,
    params
  );
}
//导出入库单列表
export function exportDataStockInOrderList(params) {
  return post(
    `${packageName}/dataStockInOrder/exportDataStockInOrderList`,
    params
  );
}
//导出入单详情列表
export function exportDataStockInOrderDetailList(params) {
  return post(
    `${packageName}/dataStockInOrder/exportDataStockInOrderDetailList`,
    params
  );
}
//删除入库单详情(平板)
export function delDataStockInOrderDetail(params) {
  return del(
    `${packageName}/dataStockInOrder/delDataStockInOrderDetail`,
    params
  );
}
//获取转移记录列表
export function getDataTransferOrderList(params) {
  return get(
    `${packageName}/dataTransferOrder/getDataTransferOrderList`,
    params
  );
}
//获取转移记录详情列表（转移id）
export function getDataTransferOrderDetailList(params) {
  return get(
    `${packageName}/dataTransferOrder/getDataTransferOrderDetailList`,
    params
  );
}
//导出转移记录列表
export function exportDataTransferOrderList(params) {
  return post(
    `${packageName}/dataTransferOrder/exportDataTransferOrderList`,
    params
  );
}
//导出转移记录详情列表（转移id）
export function exportDataTransferOrderDetailList(params) {
  return post(
    `${packageName}/dataTransferOrder/exportDataTransferOrderDetailList`,
    params
  );
}

//获取调整单详情记录(调整单id)
export function getDataAdjustOrderDetailList(params) {
  return get(
    `${packageName}/dataAdjustOrder/getDataAdjustOrderDetailList`,
    params
  );
}
//获取调整单记录
export function getDataAdjustOrderList(params) {
  return get(`${packageName}/dataAdjustOrder/getDataAdjustOrderList`, params);
}
//获取重量调整单详情记录
export function getDataAdjustOrderWeightDetailList(params) {
  return get(
    `${packageName}/dataAdjustOrder/getDataAdjustOrderWeightDetailList`,
    params
  );
}
//导出调整单详情记录(调整单id)
export function exportDataAdjustOrderDetailList(params) {
  return post(
    `${packageName}/dataAdjustOrder/exportDataAdjustOrderDetailList`,
    params
  );
}
//导出调整单记录
export function exportDataAdjustOrderList(params) {
  return post(
    `${packageName}/dataAdjustOrder/exportDataAdjustOrderList`,
    params
  );
}
//导出重量调整单详情记录
export function exportDataAdjustOrderWeightDetailList(params) {
  return post(
    `${packageName}/dataAdjustOrder/exportDataAdjustOrderWeightDetailList`,
    params
  );
}
//获取车辆调拨单入库详情
export function getDataCarTransferOrderInDetail(params) {
  return get(
    `${packageName}/dataCarTransferOrderInDetail/getDataCarTransferOrderInDetail`,
    params
  );
}
//获取车辆调拨单入库详情列表（调拨单id）
export function getDataCarTransferOrderInDetailList(params) {
  return get(
    `${packageName}/dataCarTransferOrderInDetail/getDataCarTransferOrderInDetailList`,
    params
  );
}
//获取车辆调拨单列表
export function getDataCarTransferOrderList(params) {
  return get(
    `${packageName}/dataCarTransferOrderInDetail/getDataCarTransferOrderList`,
    params
  );
}
//导出车辆调拨单列表
export function exportDataCarTransferOrderList(params) {
  return post(
    `${packageName}/dataCarTransferOrderInDetail/exportDataCarTransferOrderList`,
    params
  );
}
//导出车辆调拨单入库详情列表（调拨单id）
export function exportDataCarTransferOrderInDetailList(params) {
  return post(
    `${packageName}/dataCarTransferOrderInDetail/exportDataCarTransferOrderInDetailList`,
    params
  );
}
//删除车辆调拨单入库详情（平板）
export function delDataCarTransferOrderInDetail(params) {
  return del(
    `${packageName}/dataCarTransferOrderInDetail/delDataCarTransferOrderInDetail`,
    params
  );
}
//获取车辆调拨单出库详情列表（调拨单id）
export function getDataCarTransferOrderOutDetailList(params) {
  return get(
    `${packageName}/dataCarTransferOrderOutDetail/getDataCarTransferOrderOutDetailList`,
    params
  );
}
//获取车辆调拨单出库详情
export function getDataCarTransferOrderOutDetail(params) {
  return get(
    `${packageName}/dataCarTransferOrderOutDetail/getDataCarTransferOrderOutDetail`,
    params
  );
}
//导出车辆调拨单出库详情列表（调拨单id）
export function exportDataCarTransferOrderOutDetailList(params) {
  return post(
    `${packageName}/dataCarTransferOrderOutDetail/exportDataCarTransferOrderOutDetailList`,
    params
  );
}
//删除车辆调拨单出库详情（平板）
export function delDataCarTransferOrderOutDetail(params) {
  return del(
    `${packageName}/dataCarTransferOrderOutDetail/delDataCarTransferOrderOutDetail`,
    params
  );
}
